package com.sl.crawler.common.utils.random;

import java.util.Random;

/**
 * Created by shiling on 2017/6/13.
 */
public class RandomUtils {
    public static final int getRandInt() {
        Random rand = new Random();
        int randInt = rand.nextInt();
        return randInt;
    }
    public static final int getnextInt(int bound) {
        Random rand = new Random();
        int randInt = rand.nextInt(bound);
        return randInt;
    }
}
